package com.zwz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zwz.bean.News;

public interface NewsInfoService {
    boolean insert(News news);

    boolean deleteById(Integer uid);

    boolean updateById(News news);

    News getById(Integer uid);

    IPage<News> getPage(int currentPage, int pageSize, News userInfo);

    int countAll();
}
